package com.ujs.service;

import com.ujs.pojo.Order;
import com.ujs.pojo.Product;

import java.util.List;

/**
 * @title: OrderService
 * @Author liyunxiao
 * @Date: 2021/1/10 19:38
 */
public interface OrderService {
    List<Order> findAll();
    Order findById(String id);
    void save(Order order);
    void deleteById(String id);

    List<Order> findByPage(Integer page, Integer size);
    Long findCount();
    List<Order>findByOrderNumLike(String num);

}
